package net.repchain.browser.entity;

import lombok.*;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/**
 * (RepchainBlock)实体类
 *
 * @author lhc
 * @since 2023-11-21 11:16:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
@Table(name = "repchain_block")
public class RepchainBlock implements Serializable {
    private static final long serialVersionUID = -28768633645804138L;

    @Id
    @GeneratedValue(generator="JDBC")
    private Long blockId;

    private Long blockHeight;

    private String blockHash;

    private String blockHashBase;

    private String blockJson;

    private Date blockCreateTime;
}

